#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

class gpsSession;

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

    gpsSession * s;
    bool once;

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    
private:
    Ui::MainWindow *ui;

    void CreateSession();

public slots:
    void getMyPos();
    void startTracking();
    void stopTracking();
    void ShowMyPos( double x, double y, double z );
    void SetEnabledButtonsDefauilt();
    void zeroLabels();
};

#endif // MAINWINDOW_H
